<%--
  Created by IntelliJ IDEA.
  User: 49841
  Date: 2023/4/24
  Time: 17:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>${initParam}</title>
    <base href="${pageContext.request.contextPath}/">
    <link href="style/public.css" rel="stylesheet">
</head>
<body>
    <div class="wrap">
        <%@include file="../title.jsp"%>
        <div class="main">
            <%@include file="../nav.jsp"%>
            <div class="content">
                <h2>统计信息</h2>
                <h3>${message}</h3>
                <table>
                    <tr>
                        <th>编号</th>
                        <th>姓名</th>
                        <th>性别</th>
                        <th>等级</th>
                        <th>所属省份</th>
                        <th>身份证号</th>
                        <th>职业</th>
                    </tr>
                    <c:forEach items="${agents}" var="agent">
                        <tr>
                            <td>${agent.id}</td>
                            <td>${agent.name}</td>
                            <td>${agent.sex}</td>
                            <td>${agent.level}</td>
                            <td>${agent.zoneName}</td>
                            <td>${agent.idCard}</td>
                            <td>${agent.career}</td>

                        </tr>
                    </c:forEach>
                </table>
            </div>
        </div>
    </div>
</body>
</html>
